<?php
include_once 'kahlua.ini';
include 'classes/utils/smarty_connect.php';
include_once 'classes/handlers/videosHandler.php';
include_once 'classes/db.php';
include_once 'classes/classNotas.php';

$arrVideos = videosHandler::getTop3SexyNotas();

$myNota = new Notas();
$arrNotas = $myNota->getEnResumenList();

$arrColumna = $myNota->getColumnaRodrigo();
//en Resumen
$enResumen = $myNota->getEnResumen();

$smarty = new smarty_connect;
$smarty->template_dir = '/projects/newmasmedio/templates';

$smarty->assign("CSS", array("newmasmedio.css", "notas.css", "enResumen.css"));
$smarty->assign("JS", array("jquery-1.3.2.js","masmedio.js"));
$smarty->assign("title", "MasMedio.com | Resumen de noticias del dia de ".date("d-m-Y"));
$smarty->assign("arrVideos", $arrVideos);
$smarty->assign("arrNotas", $arrNotas);
$smarty->assign("arrColumna", $arrColumna);
$smarty->assign("enResumen", $enResumen);
$smarty->display('enResumen.tpl');